package com.group4.datafactorybackend.entity.DTO;

import com.group4.datafactorybackend.util.PageCode;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

/**
 * @author 章珑赢
 * @date 2022/8/1
 * @description 查询码表列表条件实体类 TODO
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class StopwatchParameterDTO extends PageCode {

    /**
     * 码表名称
     */
    @Length(max = 30, message = "码表名称长度不能超过30")
    private String stopwatchName;

    /**
     * 码表状态
     */
    private String stopwatchStatus;
}
